<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="/inc/tag.jsp"%>

<div class="table-responsive">
	<table class="table table-hover table-bordered table-striped">
<thead>
  <tr>
	<th><div style="width:50%;float:left">日期</div></th>
    <th>订单ID</th>
    <th>申请人</th>
    <th>联系电话</th>
    <th>金额</th>
    <th>状态</th>
    <th>操作</th>
  </tr>
  </thead>
  <tbody>
<c:forEach items="${withdrawPagination.records}" var="it" varStatus="status">
  <tr id="${it.id}">
 		       <td  style="text-align: center;">
	 		       <div style="width:50%;float:left" id="longtime" >
	 		       ${it.sendTime}
	 		     <%-- 	<fmt:formatDate value="${it.sendTime}" pattern="yyyy-MM-dd"></fmt:formatDate>  --%>
	 		       </div>
 		       </td>
  			<td>${it.withdrawId}</td>
  			<td>${it.realName}</td>
			<td>${it.phone}</td>
			<td>${it.money}</td>
			<td>
				<c:if test="${it.status eq  1}">
				<p class="text-info">未审核</p>
				</c:if>
				<c:if test="${it.status eq 2}">
				<p style="color: red">驳回</p>	
				</c:if>
				<c:if  test="${it.status eq 3}">
				<p style="color: green">通过</p>
				</c:if>
			</td>
		
			<td >
				<a class="btn btn-primary btn-sm"  href="javascript:void(0);" onclick="list.auditing(${it.id})" id="auditingBtn" data-toggle="tooltip">审核</a>
			</td>
  </tr>
			 
			 
</c:forEach>
</tbody>
</table>
<wt:page targetForm="_listForm" pagination="${withdrawPagination}" />
</div>
